<?php

Class MelonsController extends AppController {
	
	//public $name = "Melons";
	public $use = "Melon";
	public $layout = "melon";
	public $scaffold;
	
	function index(){
		
		$this->set("test","testdayo--");
		$this->set("content_header","content_header is heaaaha!");
		
		$datas = $this->Melon->find("all");
	//	var_dump($datas);
	//	$this->set("test2",$datas);
		
	//	$datas = $this->Melon->findAllByid(2);
		var_dump($datas);
		$this->set("test2",$datas);
		
	}
	
	function edit(){
		
		
		
	}
	
	

}





?>